@import '../../common/styles/theme/default.less';

.hr-search-item {
  color: @font-color-second;

  &.placeholder {
    .am-list-item .am-list-line .am-list-extra {
      color: @font-color-third;
    }
  }
  &.disabled {
    .am-list-item .am-list-line .am-list-extra {
      color: @font-color-second;
      opacity: 0.5;
    }
    .am-list-item.am-list-item-active {
      background-color: transparent;
    }
  }
  .hr-mini-page {
    padding-bottom: constant(safe-area-inset-bottom) !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
  }

  .hr-search-item-icon {
    width: 32px;
    height: 32px;
    margin-left: 16px;
  }

  .hr-search-item-extra {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    &.placeholder {
      color: @font-color-third;
    }
    &.disabled {
      color: @font-color-second;
      opacity: 0.5;
    }
  }

  .am-list-view-scrollview {
    height: calc(100vh - 112px);
  }

  .am-list-view-scrollview-content {
    padding-bottom: 160px;
  }

  .list-view-section-body {
    padding: 0 32px;
  }
}
.hr-picker-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  color: @font-color-primary;
  font-size: 34px;
  border-bottom: 1px solid #ddd;
}
.hr-picker-popup-header-left,
.hr-picker-popup-header-right {
  color: @brand-primary;
}

.hr-search-item-listview {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.search-item-modal {
  height: 80%;
  overflow: hidden;

  .am-search {
    height: auto;
    margin: 32px 0;
    padding: 0 32px;
    background-color: transparent;
  }

  .am-search-input .am-search-synthetic-ph {
    height: 100px;
    line-height: 100px;
  }

  .am-search-input input[type='search'] {
    height: 100px;
  }

  .am-search-input .am-search-synthetic-ph-icon {
    width: 40px;
    height: 40px;
    vertical-align: -15px;
  }

  .am-search-input .am-search-clear {
    top: 50%;
    margin-top: -28px;
  }

  .am-search-input {
    height: 100px;
    border: 2px solid @brand-primary;
  }

  .am-modal-body {
    padding-bottom: 210px;
    overflow: hidden;
  }
}
